package com.zzk.lanouhn.myapplication1.modles;

import java.io.Serializable;
import java.util.List;

/**
 * Created by lanouhn on 16/9/1.
 */
public class MessageArticles implements Serializable{
    private String status;
    private String msg;
    private int ts;
    private DataBean data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTs() {
        return ts;
    }

    public void setTs(int ts) {
        this.ts = ts;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {

        private List<TopicBean> topic;

        public List<TopicBean> getTopic() {
            return topic;
        }

        public void setTopic(List<TopicBean> topic) {
            this.topic = topic;
        }

        public static class TopicBean {
            private String id;
            private String type;
            private String type_id;
            private String title;
            private String subtitle;
            private String pic;
            private boolean is_show_like;
            private boolean is_recommend;
            private String create_time_str;
            private String desc;
            private boolean islike;
            private String views;
            private String comments;
            private String order_time_str;
            /**
             * user_id : 1425688
             * nickname : 杨勺勺💪
             * avatar : http://7te7t9.com2.z0.glb.qiniucdn.com/001/42/56/88.jpg?v=4
             * is_official : 0
             * attention_type : 0
             */

            private UserBean user;
            /**
             * url : http://pic1.bantangapp.com/topic/201608/29/52491025_1425688_0.jpg!300x300
             */

            private List<PicsBean> pics;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getType_id() {
                return type_id;
            }

            public void setType_id(String type_id) {
                this.type_id = type_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSubtitle() {
                return subtitle;
            }

            public void setSubtitle(String subtitle) {
                this.subtitle = subtitle;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public boolean isIs_show_like() {
                return is_show_like;
            }

            public void setIs_show_like(boolean is_show_like) {
                this.is_show_like = is_show_like;
            }

            public boolean isIs_recommend() {
                return is_recommend;
            }

            public void setIs_recommend(boolean is_recommend) {
                this.is_recommend = is_recommend;
            }

            public String getCreate_time_str() {
                return create_time_str;
            }

            public void setCreate_time_str(String create_time_str) {
                this.create_time_str = create_time_str;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public boolean isIslike() {
                return islike;
            }

            public void setIslike(boolean islike) {
                this.islike = islike;
            }

            public String getViews() {
                return views;
            }

            public void setViews(String views) {
                this.views = views;
            }

            public String getComments() {
                return comments;
            }

            public void setComments(String comments) {
                this.comments = comments;
            }

            public String getOrder_time_str() {
                return order_time_str;
            }

            public void setOrder_time_str(String order_time_str) {
                this.order_time_str = order_time_str;
            }

            public UserBean getUser() {
                return user;
            }

            public void setUser(UserBean user) {
                this.user = user;
            }

            public List<PicsBean> getPics() {
                return pics;
            }

            public void setPics(List<PicsBean> pics) {
                this.pics = pics;
            }

            public static class UserBean {
                private String user_id;
                private String nickname;
                private String avatar;
                private int is_official;
                private int attention_type;

                public String getUser_id() {
                    return user_id;
                }

                public void setUser_id(String user_id) {
                    this.user_id = user_id;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }

                public int getIs_official() {
                    return is_official;
                }

                public void setIs_official(int is_official) {
                    this.is_official = is_official;
                }

                public int getAttention_type() {
                    return attention_type;
                }

                public void setAttention_type(int attention_type) {
                    this.attention_type = attention_type;
                }
            }

            public static class PicsBean {
                private String url;

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }
    }
}
